package com.diy.sigmund.diyorder.entity.enumerate;

import com.diy.sigmund.diycommon.entity.enumerate.ResponseEnum;
import java.util.Objects;

/**
 * 商品状态
 *
 * @author ylm-sigmund
 * @since 2021/8/20 10:14
 */
public enum CommodityStatusEnum {
    /** "0", "上架" */
    SHELVES("0", "上架"),
    /** "1", "下架" */
    OFF_THE_SHELF("1", "下架"),
    ;
    private final String code;
    private final String msg;

    CommodityStatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
